package me.dz.dreamcleaner.manager;

import com.pixelmonmod.pixelmon.entities.pixelmon.EntityPixelmon;

public enum PokeType {
    LEGENDARY {
        @Override
        public boolean canClear(EntityPixelmon entity) {
            return entity.isLegendary();
        }
    },
    BEAST{
        @Override
        public boolean canClear(EntityPixelmon entity) {
            return entity.getSpecies().isUltraBeast();
        }
    },
    BOSS{
        @Override
        public boolean canClear(EntityPixelmon entity) {
            return entity.isBossPokemon();
        }
    },
    DESPAWN{
        @Override
        public boolean canClear(EntityPixelmon entity) {
            return entity.canDespawn;
        }
    }
    ;

    public abstract boolean canClear(EntityPixelmon entity);
}
